#ifndef _FRACTAL_FBITMAP_H_
#define _FRACTAL_FBITMAP_H_


#include <vector>

using std::vector;


class FBitmap
{
public:
    FBitmap(int width=0, int height=0);
    FBitmap(const FBitmap &that);

    int width(void) const;
    int height(void) const;
    int pixels(void) const;
    int components(void) const;

    void set_pixel(int row, int col, float r, float g, float b);

    const float *c_ptr(void) const;

private:
    vector<float> _bm;
    int _width, _height;
};


#endif  // _FRACTAL_FBITMAP_H_
